TARGET = gisgraphlib
DEFINES += GISGRAPHLIB_LIBRARY
SOURCES += graph.cpp \
    vertex.cpp \
    edge.cpp \
    graphgui.cpp \
    path.cpp
HEADERS += graph.h \
    gisgraphlib_global.h \
    vertex.h \
    edge.h \
    graphgui.h \
    path.h
TEMPLATE = lib
CONFIG(debug, debug|release):TARGET = $$join(TARGET,,,d)
win32 { 
    CONFIG(debug, debug|release):INSTALLLIB.commands = $(INSTALL_FILE) \
        debug\\$${TARGET}.lib \
        ..\\lib
    CONFIG(release, debug|release):INSTALLLIB.commands = $(INSTALL_FILE) \
        release\\$${TARGET}.lib \
        ..\\lib
    INSTALLLIB.path = ..\\lib
    CONFIG(debug, debug|release):INSTALLBIN.commands = $(INSTALL_FILE) \
        debug\\$${TARGET}.dll \
        ..\\bin
    CONFIG(release, debug|release):INSTALLBIN.commands = $(INSTALL_FILE) \
        release\\$${TARGET}.dll \
        ..\\bin
    INSTALLBIN.path = ..\\bin
    INSTALLS = INSTALLLIB \
        INSTALLBIN
}
unix { 
    target.path = ../lib
    INSTALLS = target
}
